package com.ht.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ht.modules.system.entity.SysAnnouncementSend;
import com.ht.modules.system.model.AnnouncementSendModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户通告阅读标记表
 */
public interface SysAnnouncementSendMapper extends BaseMapper<SysAnnouncementSend> {

    public List<String> queryByUserId(@Param("userId") String userId);

    /**
     * 获取我的消息
     */
    public List<AnnouncementSendModel> getMyAnnouncementSendList(@Param("page") Page<AnnouncementSendModel> page, @Param("announcementSendModel") AnnouncementSendModel announcementSendModel);

}
